home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17504 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: svnews.ubinet.ubs.com!ubszh!ian.johnston@ubs.com
  2. From: ian.johnston@ubs.com (Ian Johnston (by ubsswop))
  3. Newsgroups: comp.lang.java,comp.lang.c++
  4. Subject: Re: Will Java kill C++?
  5. Date: 16 Apr 1996 07:53:33 GMT
  6. Organization: UBS
  7. Distribution: world
  8. Message-ID: <4kvjlt$ue@ubszh.fh.zh.ubs.com>
  9. References: <4kn3c4$1ggc@piglet.cc.uic.edu> <DpvsE5.2HC@research.att.com> <4ksfdr$bhh@engnews2.Eng.Sun.COM> <3172DC7C.6B3F@sdt.com> <4ku4lk$lg6@engnews2.Eng.Sun.COM>
  10. NNTP-Posting-Host: nol2179.fh.zh.ubs.com
  11.  
  12. In article <4ku4lk$lg6@engnews2.Eng.Sun.COM>, linden@positive.Sun.COM (Peter van der Linden) writes:
  13. |> >How would you have maintained C-style linkage and C++ typesafe
  14. |> >linkage in the same object module without changing the linker?
  15. |> 
  16. |> By writing a linker pre-pass program which checks for and enforces
  17. |> the type-safe linking rules.
  18.  
  19. Yep, this is the obvious answer, but not terribly practical when trying
  20. to get a system up and running on multiple platforms.
  21.  
  22. If only Sun would write a linker pre-pass for templates, we could dump
  23. the template repository junk which makes linking with C++ libraries using
  24. templates nigh on impossible.
  25.  
  26. And Sun would only have to do it for one platform.
  27.  
  28. The PC compilers do this *so* much better.
  29.  
  30. Ian
  31.  
  32.